package mongopkg

import (
	"gitee.com/wanjimao/dongli-kit/pkg/setting"
	"go.uber.org/zap"
)

type defaultMongoDb struct {
	logger *zap.Logger
	//CurlService *curltools.CurlService
	EnvServer string
}

func NewMongoDb(l *zap.Logger, set setting.Param) (*defaultMongoDb, error) {
	return &defaultMongoDb{
		logger: l,
		//CurlService: cService,
		EnvServer: set.EnvServer,
	}, nil
}
